
#ifndef TEST_HEADER_H
#define TEST_HEADER_H

#include <xc.h> // include processor files - each processor file is guarded.
#include "stdint.h"
typedef enum
{
    RX_IDLE,
    RX_HEADER_5A,
    RX_HEADER_A5,
    RX_LENGTH,
    RX_DATA
} UART_State;

void VoltTest();
void MotorTest();
void SensorTest();
void LCDParaSend();
void SpeakerTest();
void FanControl();
void LeftBatTest();
void RightBatTest();

void ProcessReceivedFrame(uint8_t *frame, uint8_t length);
void LM73Read();
void LcdInit(void);
void LCDLEDBlink();

#endif /* XC_HEADER_TEMPLATE_H */
